<template>
	<view class="content-header">
		<view class="body">
			<view class="body-detal">
				<view class="ones flex-row">
					<view>负责人姓名</view>
					<view>
						<input type="text" v-model="form.name" placeholder="请输入负责人姓名" placeholder-class="input-p" />
					</view>
				</view>
				<view class="ones flex-row">
					<view>店铺名称</view>
					<view>
						<input type="text" v-model="form.shopName" placeholder="请输入店铺名称" placeholder-class="input-p" />
					</view>
				</view>
				<view class="oness flex-row flex-content-between">
					<view class="ones flex-row">
						<view>店铺地址</view>
						<picker class="picker" mode="region" @change="bindPickerChangeAddress">
												<view class="uni-input">{{form.address?form.address:"请选择店铺地址"}}</view>
											</picker>
					</view>
					<image class="you-img" src="../../static/index/you.png" mode="scaleToFill"></image>
				</view>
				<view class="ones flex-row">
					<view>详细地址</view>
					<view>
						<input type="text" v-model="form.shopName" placeholder="请输入详细地址" placeholder-class="input-p" />
					</view>
				</view>
			</view>
		</view>
		<mu-suspension bottom="46" left="175">
			<view class="foot">确认添加</view>
		</mu-suspension>
	</view>
</template>

<script>
	export default{
		data(){
			return {
				form:{
					name:"",
					shopName:"",
					mobile:"",
					city:"",
					address:""
				}
			}
		},
		methods:{
			bindPickerChangeAddress(){
				
			}
		}
	}
</script>

<style lang="scss">
	.foot{
		width: 400rpx;
		height: 90rpx;
		background: linear-gradient(90deg, #71DA38 0%, #50BC16 100%);
		border-radius: 45rpx 45rpx 45rpx 45rpx;
		opacity: 1;
		font-size: 30rpx;
		font-family: PingFang SC-Regular, PingFang SC;
		font-weight: 400;
		color: #FFFFFF;
		text-align: center;
		line-height: 90rpx;
	}
	.you-img{
		width: 14rpx;
		height: 24rpx;
		margin-top: 5rpx;
	}
	.uni-input{
		font-size: 28rpx;
		font-family: PingFang SC-Regular, PingFang SC;
		font-weight: 400;
		color: #555555;
	}
	.input-p{
		font-size: 28rpx;
		font-family: PingFang SC-Regular, PingFang SC;
		font-weight: 400;
	}
	input{
		height: 40rpx;
		font-size: 28rpx;
		color: #555555;
	}
	.oness{
		// margin-bottom: 70rpx;
	}
	.ones{
		margin-bottom: 70rpx;
		>view:nth-child(1){
			width: 220rpx;
			height: 42rpx;
		}
		>view:nth-child(2){
			height: 42rpx;
		}
	}
	.body-detal{
		margin-left: 30rpx;
		margin-right: 30rpx;
		padding-top: 50rpx;
	}
	.body{
		width: 750rpx;
		height: calc(100vh - 115rpx);
		background: #FFFFFF;
		border-radius: 20rpx 20rpx 0px 0px;
		opacity: 1;
		margin-top: 20rpx;
	}
</style>